var jianshe = 10000;
var gongshang = 10000;
var nongye = 10000;

for (var i = 1; i < 5; i++) {
	jianshe += jianshe * 3.75 / 100;
}

for (var i = 1; i < 6; i++) {
	gongshang += gongshang * 3.25 / 100;
}

for (var i = 1; i < 7; i++) {
	nongye += nongye * 3 / 100;
}

if(jianshe > gongshang && jianshe > nongye){
	console.log("建设银行收益高");
}else if( gongshang > jianshe && gongshang > nongye){
	console.log("工商银行收益高");
}else{
	console.log("农业银行收益高");
}

console.log(jianshe);
console.log(gongshang);
console.log(nongye);